package me.send.data.service.pojo;

import java.util.ArrayList;
import java.util.List;

public class ZTree {
	
	private String name;// 显示名称
	private boolean open = true; // 默认是否打开
	private List<ZTree> children = new ArrayList<ZTree>();
	private boolean isParent = false; // 是否是父
	private String click = "load_tree()"; // 点击事件
	private String url; // URL地址

	public String getClick() {
		return click;
	}

	public void setClick(String click) {
		this.click = click;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public boolean isOpen() {
		return open;
	}

	public void setOpen(boolean open) {
		this.open = open;
	}

	public List<ZTree> getChildren() {
		return children;
	}

	public void setChildren(List<ZTree> children) {
		this.children = children;
	}

	public boolean isParent() {
		return isParent;
	}

	public void setParent(boolean isParent) {
		this.isParent = isParent;
	}
}
